console.log('关闭编辑', $event);
try {
  const gis = this.getApiPage().getApiWidgetByAliasName('三维组件')
  gis.widgetObj.setIconPosition({ right: 20, top: 100 })
  gis.widgetObj.setModalPosition({ right: 5, bottom: 20, maxWidth: 1510, maxHeight: 960, width: 810, height: 286 })
  gis.widgetObj.gisMap.showOrHideAllArea(false)
} catch (error) {
  console.log(error)
}

try {
  this.getApiPage().getApiWidgetsByClassName('edit')?.forEach(v => v.hideWidget());
  this.getApiPage().getApiWidgetByAliasName('新增演练人员')?.hideWidget();
  this.getApiPage().getApiWidgetByAliasName('modal-btns')?.hideWidget();
  this.getApiPage().getApiWidgetByAliasName('modal-process')?.hideWidget();
} catch (error) {
  console.log(error)
}

